.article {
  padding: 50px ;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 2px 2px 10px rgba(0, 0 ,0, .05);
}
.article h1 {
  font-size: 40px;
}
.article p {
  margin-top: 20px;
  color: #999;
  font-size: 14px;
}
.content {
  margin-top: 50px;
  font-size: 18px;
  text-align: justify; // 对齐
  line-height: 1.75;
}
.contentFooter {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
  border-top: 1px solid #f0f0f0;
  padding: 30px 30px 0 30px;

  .mybtn {
    flex: 4;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    overflow: hidden;

    span {
      font-size: 12px;
      color: #ccc;
      border: 1px solid #ccc;
      padding: 3px 10px;
      border-radius: 2px;
      transition: 0.3s;
    }

    &:first-child {
      border-right: 1px solid #eee;
    }
    &:last-child {
      border-left: 1px solid #eee;
    }

    &:hover {
      span {
        color: var(--block);
        border: 1px solid var(--block);
      }
    }

    p {
      max-width: 90%;
      font-size: 25px;
      color: var(--block);
      font-weight: bold;
      overflow: hidden;
      white-space:nowrap;
      text-overflow:ellipsis;
    }
  }

  // 如果没有数据时不变色
  .noActive {
    &:hover {
      span {
        color: #ccc;
        border: 1px solid #ccc;
        cursor: default;
      }
    }
  }

  .dianzan {
    flex: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
    span {
      font-size: 40px;
      color: #333;
      cursor: pointer;
    }

    p {
      margin-top: 5px;
    }

  }
}
// 评论区
.reviewBox {
  margin-top: 30px;
  background-color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0 ,0, .05);
  padding: 30px;
  margin-bottom: 30px;
}
.review {
  box-sizing: border-box;
  resize: none;
  width: 100%;
  height: 80px;
  border: 1px solid var(--block);
  padding: 10px;
  outline: none;
  border-radius: 5px;
}
.options {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  
  .reviewBtn {
    outline: none;
    font-size: 16px;
    color: var(--bg);
    border-radius: 20px;
    background-color: var(--block);
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    transition: .15s;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 5px;
    
    &:active {
      background-color: #eee;
      color: black;
      font-weight: bold;
    }
  }
}
// 评论区
.comment {
  border-top: 1px solid #333;

  .commentBox {
    border-top: 1px dashed #ddd;
    display: flex;
    padding: 10px;
    // background-color: var(--bg);
    margin-bottom: 20px;

    &:first-child {
      border-top: none;
    }

    .commentLeft {
      margin-right: 15px;

      img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }
    }

    .commentRight {
      width: 100%;

      .commentRightTop {
        display: flex;
        justify-content: space-between;

        p {
          font-size: 14px;
          font-weight: 550;
          color: #555;
        }

        span {
          font-size: 14px;
          color: #999;
        }
      }

      .commentRightTBottom{
        margin-top: 10px;
        font-size: 15px;
        color: #333;
      }

      .option{
        padding: 0 10px;
        display: flex;
        justify-content: flex-end;
        font-size: 14px;
        
        .click{
          cursor: pointer;
          color: #999;
          transition: 0.5s;

          &:hover {
            color: var(--block);
          }
        }
      }
    }
  }
}
// 回复内容
.replyBox {
  display: flex;
  width: 100%;
  background-color: var(--bg);
  padding: 5px;
  margin-top: 5px;

  .replyLeft {
    margin-right: 10px;

    img {
      width: 25px;
      height: 25px;
      border-radius: 50%;
    }
  }

  .replyRight {
    width: 100%;

    .replyContent {
      display: flex;
      font-size: 14px;

      .replyUser {
        display: flex;
        align-items: center;

        .replyUserBox {
          display: flex;
          align-items: center;
        }
  
        span {
          max-height: 20px;
          margin: 0 5px;
          color: #999;
        }
        
        p {
          font-size: 14px;
          color: #333;
        }
      }
    }

    .replyOption {
      margin: 5px 0;
      box-sizing: border-box;
      display: flex;
      font-size: 13px;
      color: #999;
      width: 100%;

      .click {
        margin-left: 10px;
        cursor: pointer;

        &:hover {
          color: #333;
        }
      }
    }
  }
}
// 回复的回复框
.replyInput {
  margin-top: 10px;
  
  .cancel {
    margin-right: 10px;
    outline: none;
    font-size: 16px;
    color: var(--bg);
    border-radius: 10px;
    background-color: #999;
    padding: 5px 10px;
    cursor: pointer;
    transition: .15s;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 15px;
    
    &:active {
      background-color: #eee;
      color: black;
      font-weight: bold;
    }
  }
}
.no_data {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 40px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #dedede;
}